#include <ctemplate/template.h>
#include <iostream>

int main()
{
    ctemplate::TemplateDictionary dic("test");
    dic.SetValue("key", "123");

    ctemplate::Template *tpl = ctemplate::Template::GetTemplate("in.html", ctemplate::DO_NOT_STRIP);

    std::string out_html;
    tpl->Expand(&out_html, &dic);

    std::cout << out_html << std::endl;

    return 0;
}